#ifndef __SEQUENCE_H__
#define __SEQUENCE_H__


typedef int ElemType;

struct SequenceList{
    ElemType *list_head;
    unsigned int list_length;
};

typedef struct SequenceList SeqList;

int InitList(SeqList *List);
int ListEmpty(SeqList List);
int ClearList(SeqList *List);
int GetElem(SeqList List,unsigned int i,ElemType *e);
int LocateElem(SeqList List,ElemType e);
int ListInsert(SeqList *List,unsigned int i,ElemType e);
int ListDelete(SeqList *List,unsigned int i,ElemType *e);

#endif  //__SEQUENCE_H__